package models

import (
	"gitee.com/sansaniot/ssiot-core/httpmvc/model"

	"ssdevice/common/dto"
)

type SysDataDetail struct {
	ID         *int64        `json:"id"`
	Type       string        `json:"type"`
	Key        string        `json:"key"`
	Value      int           `json:"value"`
	CreateTime dto.LocalTime `json:"createTime"`

	model.Model

	CreateTimeInsStr string `gorm:"-"`
}

func (SysDataDetail) TableName() string {
	return "sys_data_detail"
}

func (e *SysDataDetail) Generate() interface{} {
	o := *e
	return &o
}
